/**
 * Created with IntelliJ IDEA.
 * Description:
 */

public final class Bird extends Animal{
    protected String swing;

    public Bird(String name,String swing){
        super(name);
        this.swing = swing;
    }

    public void fly(){
        System.out.println(name + "正在飞!");
    }
}
